$('#variant').html("<%= escape_javascript render(:file => 'admin/variants/_form.html.erb') %>");
$('form[data-validate]').validate();